package com.hlkj.pay.service.devices;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import java.util.List;

import com.hlkj.framework.common.pojo.PageResult;
import com.hlkj.pay.dto.devices.MerchantQrDto;
import com.hlkj.pay.dto.devices.MerchantQrQueryDto;
import com.hlkj.pay.infrastructure.model.devices.MerchantQrDO;
import com.hlkj.pay.infrastructure.model.devices.MerchantQrSetDO;

/**
 * @author HlpayTeam
 * @date 2025/01/20 11:10
 */
public interface IMerchantQrService {
    /**
     *
     * @param merchantQrQueryDto
     * @return
     */
    PageResult<MerchantQrDto> queryPage(MerchantQrQueryDto merchantQrQueryDto);

    /**
     *
     * @param merchantQrSetDO
     * @param merchantQrList
     */
    void addMerchantQr(MerchantQrSetDO merchantQrSetDO, List<MerchantQrDO> merchantQrList);

    /**
     *
     * @param code
     * @return
     */
    MerchantQrDO queryDetail(String code);

    /**
     *
     * @param merchantQrDO
     */
    void updateMerchantQr(MerchantQrDO merchantQrDO);

    /**
     *
     * @param batchNo
     * @return
     */
    MerchantQrSetDO queryDetailSet(String batchNo);
}
